

#ifndef _SHELL_RESUPNEWGUY7REWARDBEANS_MESSAGE_H_
#define _SHELL_RESUPNEWGUY7REWARDBEANS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "NewGuy7RewardBean.h"
//#include <vector>
using namespace std;

class ResUpNewGuy7RewardBeansMessage : public Message
{
	public:
	ResUpNewGuy7RewardBeansMessage();
	~ResUpNewGuy7RewardBeansMessage();
	void reset();
	ResUpNewGuy7RewardBeansMessage* clone();
	static const int _ID;
	//1添加.2删除.3更新
	int8 type;
	//新人7天乐奖励信息
	vector<NewGuy7RewardBean*> beans;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
